package god.model;

public class ProfessorVO {
	private int professorNum;
	private String professorName;
	private String specialty;

	public ProfessorVO( int professorNum, String professorName, String specialty ) {
		this.professorNum = professorNum;
		this.professorName = professorName;
		this.specialty = specialty;
	}
	
	public void setProfessorNum( int professorNum ) { this.professorNum = professorNum; }
	public void setProfessorName( String professorName ) { this.professorName = professorName; }
	public void setSpecialty( String specialty ) { this.specialty = specialty; }

	public int getProfessorNum() { return professorNum; }
	public String getProfessorName() { return professorName; }
	public String getSpecialty() { return specialty; }
	
	@Override
	public String toString() {
		String result = "";
		result += professorNum + "/" + professorName + "/" + specialty;
		return result;
	}
}
